<template>
	<view class="title-com">
		<view class="left">
			<view class="more" v-if="showMore">
				<text class="cuIcon-back font"></text>
				<view class="text">تىخىمۇ كۆپ</view>
			</view>
		</view>
		<view class="right">
			<view class="title-icon">
				<view class="text">{{title}}</view>
				<image class="icon" src="/static/img/user/kino05.svg"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			title: {
				type: String,
				require: true,
			},
			showMore: {
				type: Boolean,
				default: false,
			},
			url: {
				type: String,
				default: '/pages/index/index',
			},
		},
		data() {
			return {

			}
		},
		methods: {

		},
	}
</script>

<style lang="scss" scoped>
	.title-com {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0 10px;
		height: 40px;

		.more {
			display: flex;
			align-items: center;
		}

		.title-icon {
			display: flex;
			align-items: center;
		}

		.icon {
			width: 26px;
			height: 26px;
			display: block;
		}

		.text {
			margin: 0 10px;
		}
		
		.font{
			font-size: 20px;
			position: relative;
			top: 3px;
		}
	}
</style>